import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 *Boton para mostrar los creditos del juego
 * 
 * @author (AL) 
 * @version (1.1)
 */
public class Creditos extends Boton
{
    /**
     * Act - do whatever the Creditos wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        if(Greenfoot.mouseClicked(this))
                    ((WonderWorld)(getWorld())).creditos();
    }    
}
